package com.baseframe.sys.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 角色
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2016年9月18日 上午9:27:38
 */
@Entity
@TableName("frame_role")
public class FrameRole implements Serializable {
	private static final long serialVersionUID = 1L;
	
	
	/**
	 * 角色ID
	 */
	@Id
	private String roleguid;
	/**
	 * 角色名称
	 */
	@NotBlank(message="角色名称不能为空")
	private String rolename;
	/**
	 * 排序
	 */
	private Integer ordernumber;
	/**
	 * 部门ID
	 */
	private String belongoiguid;
	private String roletype;
	private Date create_time;
	
	
	public String getRoleguid() {
		return roleguid;
	}
	public void setRoleguid(String roleguid) {
		this.roleguid = roleguid;
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public Integer getOrdernumber() {
		return ordernumber;
	}
	public void setOrdernumber(Integer ordernumber) {
		this.ordernumber = ordernumber;
	}
	public String getBelongoiguid() {
		return belongoiguid;
	}
	public void setBelongoiguid(String belongoiguid) {
		this.belongoiguid = belongoiguid;
	}
	public String getRoletype() {
		return roletype;
	}
	public void setRoletype(String roletype) {
		this.roletype = roletype;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
	
	
	
}
